import { setupAIChatIpcHandlers } from './aichat'
import setupAIAssistIpcHandlers from './aiAssist'
import { setupAppIpcHandlers } from './app'
import { setupAutoMessageIpcHandlers } from './autoMessage'
import { setupAutoPopUpIpcHandlers } from './autoPopUp'
import { setupBrowserIpcHandlers } from './browser'
import { setupAutoReplyIpcHandlers } from './commentListener'
import { setupLiveControlIpcHandlers } from './connection'
import { setupVideoIpcHandlers, cleanupVideoResources } from './video'
import { setupLiveWakeupIpcHandlers } from './liveWakeup'
import { setupFloatingWindowIpcHandlers } from './floatingWindow'
import { setupDarenJuanIpcHandlers } from './darenJuan'
import { setupAudioIpcHandlers } from './audio'

// 导出清理函数供主进程使用
export { cleanupVideoResources }

setupLiveControlIpcHandlers()
setupAIChatIpcHandlers()
setupAutoPopUpIpcHandlers()
setupAutoReplyIpcHandlers()
setupAutoMessageIpcHandlers()
setupBrowserIpcHandlers()
setupAppIpcHandlers()
setupAIAssistIpcHandlers()
setupVideoIpcHandlers()
setupLiveWakeupIpcHandlers()
setupFloatingWindowIpcHandlers()
setupDarenJuanIpcHandlers()
setupAudioIpcHandlers()
